[3.9] Fix tests for XMLPullParser with Expat 2.6.0 (GH-115133) (GH-115535)
authorSeth Michael Larson <seth@python.org>
Wed, 21 Feb 2024 11:22:55 +0000 (05:22 -0600)
committerArnaud Rebillout <arnaudr@debian.org>
Tue, 14 Apr 2026 04:38:32 +0000 (11:38 +0700)
commitdc90300136396814f0d66c618f0f35da98af5384
treee539be40268dab53c9fec1b5a3ca982acebbc4cb
parent07bf5cc25c170df12458191da6ac5ed4a32de598
[3.9] Fix tests for XMLPullParser with Expat 2.6.0 (GH-115133) (GH-115535)

Feeding the parser by too small chunks defers parsing to prevent
CVE-2023-52425. Future versions of Expat may be more reactive.
(cherry picked from commit 4a08e7b3431cd32a0daf22a33421cd3035343dc4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Gbp-Pq: Name 0029-3.9-Fix-tests-for-XMLPullParser-with-Expat-2.6.0-GH-.patch
Lib/test/test_xml_etree.py